using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 社区帖子标签仓储接口
    /// </summary>
    public interface ICommunityPostTagRepository : IRepository<CommunityPostTag>
    {
        Task<IEnumerable<CommunityPostTag>> GetByPostIdAsync(Guid postId);
        Task<IEnumerable<CommunityPostTag>> GetByTagIdAsync(Guid tagId);
        Task<IEnumerable<CommunityPostTag>> GetPopularTagsAsync(int count = 10);
    }
}